All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.qd3d.camera.ViewAngleAspectCameraData
java.lang.Object
|
+----quicktime.util.QTByteObject
|
+----quicktime.qd3d.camera.CameraData
|
+----quicktime.qd3d.camera.ViewAngleAspectCameraData
- public final class ViewAngleAspectCameraData
- extends CameraData
- implements PrimitivesLib
A view angle aspect camera is a perspective camera specified in
terms of the minimum view angle and the aspect ratio of X to Y.
refer to TQ3ViewAngleAspectCameraData in QuickDraw3d
-
kNativeSize
- This is the size (the number of bytes) that are required for this class
-
ViewAngleAspectCameraData()
- Creates a ViewAngleAspectCameraData object containing no data.
-
ViewAngleAspectCameraData(CameraData, float, float)
- Creates a ViewAngleAspectCameraData object containing given data.
-
clone()
- Returns a copy of this class.
-
getFov()
- returns the field of view
-
setAspectRatio()
- returns the aspect ratio
-
setAspectRatio(float)
- sets the aspect ratio
-
setFov(float)
- sets the field of view
kNativeSize
public static final int kNativeSize
- This is the size (the number of bytes) that are required for this class
ViewAngleAspectCameraData
public ViewAngleAspectCameraData()
- Creates a ViewAngleAspectCameraData object containing no data.
ViewAngleAspectCameraData
public ViewAngleAspectCameraData(CameraData cameraData,
float fov,
float aspectRatio)
- Creates a ViewAngleAspectCameraData object containing given data.
- Parameters:
- camData - The camera data.
- fov - The field of view
- aspectRatio - The aspect ratio of x to y
getFov
public float getFov()
- returns the field of view
setAspectRatio
public float setAspectRatio()
- returns the aspect ratio
setFov
public void setFov(float fov)
- sets the field of view
setAspectRatio
public void setAspectRatio(float aspectRatio)
- sets the aspect ratio
clone
public Object clone()
- Returns a copy of this class.
- Overrides:
- clone in class CameraData
All Packages Class Hierarchy This Package Previous Next Index